@import url('../../common.css');

.markdown-transform-html {
  padding: 20px 40px;
  color: var(--markdown-primary-color);

  i.iconfont {
    margin-right: 5px;
  }

  .resume-module > h2 {
    color: var(--markdown-primary-bg-color);
    border-left: 4px solid var(--markdown-primary-bg-color) !important;
    padding: 3px 10px;
    position: relative;
    font-size: 1rem;
    i.iconfont {
      font-size: 1.2rem;
    }

    &::after {
      content: '';
      width: 100%;
      height: 100%;
      background: var(--markdown-primary-bg-color);
      opacity: 0.1;
      position: absolute;
      left: 0;
      top: 0;
      z-index: -1;
    }
  }
  h2 {
    color: var(--markdown-primary-bg-color);
    margin: 10px 0 5px 0;
  }

  h3 {
    font-size: 15px;
    margin-bottom: 4px;
  }

  .head-layout {
    white-space: pre;

    img[alt*='个人头像'] {
      width: 25mm;
      height: 25mm;
      border-radius: 50%;
    }
    .flex-layout-item {
      margin-right: 10px;

      &:last-child {
        margin-right: 0;
      }
    }
    h2 {
      color: var(--markdown-primary-color);
    }
    strong,
    b {
      margin-left: 10px;
    }
  }

  ul,
  ol {
    padding-left: 20px;
  }

  ul {
    & + ol {
      padding-left: 30px;
    }
    li {
      &::marker {
        font-size: 1.2rem;
      }
    }
  }

  a {
    color: var(--markdown-primary-bg-color);
    text-decoration: none;
    border-bottom: 1px solid var(--markdown-primary-bg-color);
  }

  p,
  li {
    margin-top: 7px;
  }
}
